package classes
{
	public class Condition
	{
		public var condition:String;
		public var conditionValue:String;
		
		public function Condition(ct:String = "", cv:String = "")
		{
			condition = ct;
			conditionValue = cv;
		}
		
		public function get label():String {
			/*var symbol:Array = conditionValue.split(" ");
			var desc1:String = "";
			if(symbol[0] == ">") {
				desc1 = "more than";
			} else if(symbol[0] == "<") {
				desc1 = "less than";
			}
			return condition + " " + desc1 + " " + symbol[1] + "%";*/
			return condition + " " + conditionValue + "%";
		}
		
		public function toString():String {
			return condition + "/" + conditionValue;
		}

	}
}